﻿using MediatR;
using RearLivestock.Common.Domains.wbx;
using RearLivestock.Common.Dtos;

namespace RearLivestock.Beginning.Api.Application.Command.PigletsWeanings
{
    /// <summary>
    /// 仔猪断奶显示Command
    /// </summary>
    public class SearchPigletsWeaningCommand:IRequest<Result<PageResultDto<PigletsWeaningDto>>>
    {
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? SDate { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? ODate { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页显示的数量
        /// </summary>
        public int PageSize { get; set; }
    }
}
